#!/bin/sh

set -e

if [ "$1" = "purge" ]
then
	[ ! -e /etc/baculum/Config-api-apache/api.conf ] ||
		rm /etc/baculum/Config-api-apache/api.conf
	[ ! -e /etc/baculum/Config-api-apache/oauth2.conf ] ||
		rm /etc/baculum/Config-api-apache/oauth2.conf
	[ ! -e /etc/baculum/Config-api-apache/session.dump ] ||
		rm /etc/baculum/Config-api-apache/session.dump
fi

#DEBHELPER#

exit 0
